package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 板块行情对象 sector_spot
 * 
 * @author ruoyi
 * @date 2021-12-27
 */
public class SectorSpot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** label */
    @Excel(name = "label")
    private String label;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String type;

    /** 板块 */
    @Excel(name = "板块")
    private String spot;

    /** 公司家数 */
    @Excel(name = "公司家数")
    private String num;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String symbols;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSpot(String spot) 
    {
        this.spot = spot;
    }

    public String getSpot() 
    {
        return spot;
    }
    public void setNum(String num) 
    {
        this.num = num;
    }

    public String getNum() 
    {
        return num;
    }
    public void setSymbols(String symbols) 
    {
        this.symbols = symbols;
    }

    public String getSymbols() 
    {
        return symbols;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("label", getLabel())
            .append("type", getType())
            .append("spot", getSpot())
            .append("num", getNum())
            .append("symbols", getSymbols())
            .toString();
    }

    public SectorSpot() {
    }

    public SectorSpot(String label) {
        this.label = label;
    }

    public SectorSpot(String label, String spot, String num, String type) {
        this.label = label;
        this.spot = spot;
        this.num = num;
        this.type = type;

    }
}
